export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  labelWidth: 120,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "select",
      "label": "物业",
      search: true,
      "prop": "propertyId",
      dicUrl: '/act/property/page?size=-1',
      rules: [{
        required: true,
        message: '请选择物业'
      }],
      props: {
        label: 'name',
        value: 'propertyId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "select",
      "label": "缴费项目",
      formslot: true,
      search: true,
      "prop": "itemId",
      dicUrl: '/act/propertypaymentitem/page?size=-1',
      rules: [{
        required: true,
        message: '请选择缴费项目'
      }],
      props: {
        label: 'name',
        value: 'itemId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "select",
      "label": "产权",
      formslot: true,
      search: true,
      "prop": "rightId",
      dicUrl: '/act/propertyright/page?size=-1',
      rules: [{
        required: true,
        message: '请选择产权'
      }],
      props: {
        label: 'name',
        value: 'rightId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "input",
       maxlength: 32,
      "label": "流水号",
      "prop": "no",
      rules: [{
        required: true,
        message: '请输入流水号'
      }],
      "span": 12
    },	  {
      "type": "input",
       maxlength: 48,
      "label": "付费方",
      "prop": "party",
      rules: [{
        required: true,
        message: '请输入付费方'
      }],
      "span": 12
    },	  {
      "type": "number",
      maxRows: 10000000,
      "label": "缴费金额",
      "prop": "paymentFee",
      rules: [{
        required: true,
        message: '请输入缴费金额'
      }],
      "span": 12
    },	  {
      "type": "number",
      maxRows: 10000000,
      "label": "应缴金额",
      "prop": "shouldFee",
      rules: [{
        required: true,
        message: '请输入应缴金额'
      }],
      "span": 12
    },	  {
      "type": "date",
      "label": "开始时间",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      "prop": "startDate",
      "span": 12
    },	  {
      "type": "date",
      "label": "结束时间",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      "prop": "endDate",
      "span": 12
    },	  {
      "type": "date",
      "label": "缴费时间",
      width: 150,
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      "prop": "paymentTime",
      "span": 12
    },	  {
      "type": "number",
      maxRows: 100000000,
      "label": "上期度数",
      "prop": "lastPeriod",
      hide: true,
      display: false,
      "span": 12
    },	  {
      "type": "number",
      maxRows: 100000000,
      "label": "本期度数",
      hide: true,
      "prop": "thisPeriod",
      display: false,
      "span": 12
    },	  {
      "type": "datetime",
      "label": "上期读表时间",
      "prop": "lastTime",
      hide: true,
      format: 'yyyy-MM-dd HH:mm:ss',
      width: 150,
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      display: false,
      "span": 12
    },	  {
      "type": "datetime",
      "label": "本期读表时间",
      "prop": "thisTime",
      hide: true,
      format: 'yyyy-MM-dd HH:mm:ss',
      width: 150,
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      display: false,
      "span": 12
    },	  {
      "type": "select",
      "label": "缴费状态",
      "prop": "status",
      dicUrl: '/admin/dict/type/housing_payment_status',
      rules: [{
        required: true,
        message: '请选择缴费状态'
      }],
      "span": 12
    },	  {
      "type": "textarea",
      "label": "备注",
      maxlength: 256,
      hide: true,
      "prop": "remark",
      "span": 24
    },	  {
      "type": "upload",
      "label": "附件",
      "prop": "attachment",
      accept: [],
      slot: true,
      formslot: true,
      propsHttp: {
        res: 'data',
        name: "original"
      },
      props: {
        label: "original",
        value: "url"
      },
      action: "/act/file/upload",
      listType: 'file',
      hide: true,
      "span": 24
    }  ]
}

export const tableOption1 = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  showSummary: true,
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  menu: false,
  labelWidth: 120,
  sumColumnList:[
    {
			name: 'paymentFee',
			type: 'sum'
		},
		{
			name: 'shouldFee',
			type: 'sum'
		},
  ],
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "select",
      "label": "物业",
      search: true,
      "prop": "propertyId",
      dicUrl: '/act/property/page?size=-1',
      rules: [{
        required: true,
        message: '请选择物业'
      }],
      props: {
        label: 'name',
        value: 'propertyId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "select",
      "label": "缴费项目",
      search: true,
      "prop": "itemId",
      dicUrl: '/act/propertypaymentitem/page?size=-1',
      rules: [{
        required: true,
        message: '请选择缴费项目'
      }],
      props: {
        label: 'name',
        value: 'itemId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "select",
      "label": "产权",
      search: true,
      "prop": "rightId",
      dicUrl: '/act/propertyright/page?size=-1',
      rules: [{
        required: true,
        message: '请选择产权'
      }],
      props: {
        label: 'name',
        value: 'rightId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "input",
       maxlength: 32,
      "label": "流水号",
      "prop": "no",
      rules: [{
        required: true,
        message: '请输入流水号'
      }],
      "span": 12
    },	  {
      "type": "input",
       maxlength: 48,
      "label": "付费方",
      "prop": "party",
      rules: [{
        required: true,
        message: '请输入付费方'
      }],
      "span": 12
    },	  {
      "type": "number",
      maxRows: 10000000,
      "label": "缴费金额",
      "prop": "paymentFee",
      rules: [{
        required: true,
        message: '请输入缴费金额'
      }],
      "span": 12
    },	  {
      "type": "number",
      maxRows: 10000000,
      "label": "应缴金额",
      "prop": "shouldFee",
      rules: [{
        required: true,
        message: '请输入应缴金额'
      }],
      "span": 12
    },	  {
      "type": "date",
      "label": "开始时间",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      "prop": "startDate",
      "span": 12
    },	  {
      "type": "date",
      "label": "结束时间",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      "prop": "endDate",
      "span": 12
    },	  {
      "type": "date",
      "label": "缴费时间",
      width: 150,
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      "prop": "paymentTime",
      "span": 12
    },	  {
      "type": "number",
      maxRows: 100000000,
      "label": "上期度数",
      "prop": "lastPeriod",
      hide: true,
      display: false,
      "span": 12
    },	  {
      "type": "number",
      maxRows: 100000000,
      "label": "本期度数",
      hide: true,
      "prop": "thisPeriod",
      display: false,
      "span": 12
    },	  {
      "type": "datetime",
      "label": "上期读表时间",
      "prop": "lastTime",
      hide: true,
      format: 'yyyy-MM-dd HH:mm:ss',
      width: 150,
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      display: false,
      "span": 12
    },	  {
      "type": "datetime",
      "label": "本期读表时间",
      "prop": "thisTime",
      hide: true,
      format: 'yyyy-MM-dd HH:mm:ss',
      width: 150,
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      display: false,
      "span": 12
    },	  {
      "type": "select",
      "label": "缴费状态",
      "prop": "status",
      dicUrl: '/admin/dict/type/housing_payment_status',
      rules: [{
        required: true,
        message: '请选择缴费状态'
      }],
      "span": 12
    },	  {
      "type": "input",
      "label": "处理人",
      "prop": "handleRealname",
      "span": 12
    },	  {
      "type": "textarea",
      "label": "备注",
      maxlength: 256,
      hide: true,
      "prop": "remark",
      "span": 24
    },	  {
      "type": "upload",
      "label": "附件",
      "prop": "attachment",
      accept: [],
      slot: true,
      formslot: true,
      propsHttp: {
        res: 'data',
        name: "original"
      },
      props: {
        label: "original",
        value: "url"
      },
      action: "/act/file/upload",
      listType: 'file',
      hide: true,
      "span": 24
    }  ]
}
